/*    */ package com.iris.egrant.component.model;
/*    */ 
/*    */ import java.io.Serializable;
/*    */ import javax.persistence.Column;
/*    */ import javax.persistence.Embeddable;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ @Embeddable
/*    */ public class CriteriaSetPK
/*    */   implements Serializable
/*    */ {
/*    */   private static final long serialVersionUID = -6643729214922576565L;
/*    */   @Column(name = "FUNCTION_KEY")
/*    */   private String functionKey;
/*    */   @Column(name = "SEQ_NO")
/*    */   private long seqNo;
/*    */   
/*    */   public String getFunctionKey() {
/* 28 */     return this.functionKey;
/*    */   }
/*    */   
/*    */   public void setFunctionKey(String functionKey) {
/* 32 */     this.functionKey = functionKey;
/*    */   }
/*    */   
/*    */   public long getSeqNo() {
/* 36 */     return this.seqNo;
/*    */   }
/*    */   
/*    */   public void setSeqNo(long seqNo) {
/* 40 */     this.seqNo = seqNo;
/*    */   }
/*    */ 
/*    */   
/*    */   public boolean equals(Object other) {
/* 45 */     if (this == other)
/* 46 */       return true; 
/* 47 */     if (!(other instanceof CriteriaSetPK))
/* 48 */       return false; 
/* 49 */     CriteriaSetPK castOther = (CriteriaSetPK)other;
/* 50 */     return (this.functionKey.equals(castOther.functionKey) && this.seqNo == castOther.seqNo);
/*    */   }
/*    */ 
/*    */ 
/*    */   
/*    */   public int hashCode() {
/* 56 */     int prime = 31;
/* 57 */     int hash = 17;
/* 58 */     hash = hash * 31 + this.functionKey.hashCode();
/* 59 */     hash = hash * 31 + (int)(this.seqNo ^ this.seqNo >>> 32L);
/*    */     
/* 61 */     return hash;
/*    */   }
/*    */ }


/* Location:              D:\文件kjt\WEB-INF\lib\egrant-core-2.2.20240205.1659.jar!\com\iris\egrant\component\model\CriteriaSetPK.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       1.1.3
 */